#include <iostream>
#include <cmath>
using namespace std;

class Person
{
private:
  char name[21];
  int age;
  char sex;

public:
  Person()
  {
    name = 'XXX';
    age = 0;
    sex = 'm';
  };
  
  void Register(char *n, int a, char s)
  {
    name = n;
    age = a;
    sex = s;
  }


  ~Person(){cout << "Now destroying the instance of Person"};
};
